<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/9/3 0003
  Time: 14:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加学生</title>
    <script language="javascript" type="text/javascript"
            src="My97DatePicker/WdatePicker.js"></script>
    <style>
        #t2{
           font-size: 30px;

        }
        #i1{
            font-size: 30px;
        }
    </style>
</head>
<body bgcolor="#ffc5e9">
<center>
    <div id="t2"><h2>填写学生信息进行添加</h2></div>
<form action="studentServlet" method="post" enctype="multipart/form-data">
  <input type="hidden" name="mark" value="insertStudent">
    姓名:<input type="text" style="color: #6A6AFF" name="sname" value=""><br><br>
    性别:<input type="radio" name="sex" value="男" checked>男
        <input type="radio" name="sex" value="女">女<br><br>
    爱好:<input type="checkbox" name="hobby" value="唱">唱
        <input type="checkbox" name="hobby" value="跳">跳
        <input type="checkbox" name="hobby" value="瓢">瓢
        <input type="checkbox" name="hobby" value="舔">舔 <br><br>
    &nbsp;头像:<input type="file" name="photo" > <br><br>
    生日:  <input class="Wdate" type="text" name="sbir"
                onClick="WdatePicker({el:this,dateFmt:'yyyy-MM-dd HH:mm:ss'})"> <br><br>
    <input type="submit" id="i1" style="background-color: #0099CC"   value="添加学生">

</form>
</center>

</body>
</html>